package org.itboys.seller.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.itboys.seller.constant.SellerConstants;

/**
 * 店铺相关的实体基类
 * @author weisky
 *
 * 2016年4月8日
 */
public class BaseSellerEntity extends BaseLongIdEntity{
	
	private static final long serialVersionUID = 4263430887718283481L;

	/**
	 * 记录创建者的用户D
	 */
	private long cr;
	
	/**
	 * 记录修改者的用户ID
	 */
	private long ur;
	
	private int isDeleted = SellerConstants.TYPE_ZERO;//逻辑删除  0：有效   1：无效 默认为0

	public long getCr() {
		return cr;
	}

	public void setCr(long cr) {
		this.cr = cr;
	}

	public long getUr() {
		return ur;
	}

	public void setUr(long ur) {
		this.ur = ur;
	}

	public int getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}

}
